package com.cy.pj.log.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

//用注解定义切面
@Retention(RetentionPolicy.RUNTIME) //注解在运行时有效
@Target(ElementType.METHOD) //注解在方法上有效
public @interface RequiredLog {
    String operation() default "";
}
